package main;

import gui.fenetrage.GUIFenetrePrincipale;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

public class Main_Logiciel {

	public static GUIFenetrePrincipale		fen;

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		fen = GUIFenetrePrincipale.getInstance();

		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
			SwingUtilities.updateComponentTreeUI(fen);
			fen.setSize(613, 465);
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InstantiationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

		//fen.setSize(660, 470);
		fen.setPlanche(gui.panels.FenetrePrincipale.getInstance());
		//fen.setExtendedState(JFrame.MAXIMIZED_BOTH);
		fen.setVisible(true);
		fen.setResizable(false);

		/*
		// Cplex
		ExCPLEX exCPLEX = new ExCPLEX();
		exCPLEX.solve();

		// LPsolve
		Demo demo = new Demo();
		demo.preexecute();*/
	}

}
